package com.dwd.hrm.service;

import com.dwd.hrm.domain.SendSmsDto;

import java.io.IOException;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/3/11 14:25
 * @Version 1.0
 */
public interface IVerifycodeService {
    /**
     * 图片验证码
     * @param key
     * @return
     * @throws IOException
     */
    String imageCode(String key) throws IOException;

    /**
     * 手机验证码
     * @param sendSmsDto
     */
    void sendSmsCode(SendSmsDto sendSmsDto);
}
